package cn.tedu._05mvcboot03.mapper;

import cn.tedu._05mvcboot03.pojo.entity.MvcArticle;
import cn.tedu._05mvcboot03.pojo.entity.User;
import cn.tedu._05mvcboot03.pojo.vo.ArticleVO;
import cn.tedu._05mvcboot03.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    UserVO selectByUsername(@Param("username") String username, @Param("password") String password) ;

    int insertArticle(MvcArticle mvcArticle);

    ArticleVO selectByArticleId(int id);
}
